<div ng-include="'components/navbar/navbar.html'"></div>

<div class="container">
  <div class="col-md-12">
    <h1 class="page-header">Dashboard</h1>
  </div>
  <div class="col-md-6">
    <form class="form-horizontal" role="form" name="createMeetingForm" ng-submit="createMeeting()">
      <div class="form-group">
        <label for="name" class="col-sm-2 control-label">会议名称</label>
        <div class="col-sm-10">
          <input type="text" class="form-control" id="name" required ng-model="meeting.name" placeholder="会议名称">
        </div>
      </div>
      <div class="form-group">
        <label for="size" class="col-sm-2 control-label">会议人数</label>

        <div class="col-sm-10">
          <input type="number" class="form-control" id="size" required ng-model="meeting.size"
                 placeholder="会议人数规模">
        </div>
      </div>
      <div class="form-group">
        <label for="date" class="col-sm-2 control-label">会议日期</label>

        <div class="col-sm-10">
          <input type="date" class="form-control" id="date" required ng-model="meeting.date" placeholder="会议日期召开日期">
        </div>
      </div>

      <div class="form-group">
        <div class="col-sm-10 col-sm-offset-2">
          <button type="submit" ng-disabled="createMeetingForm.$invalid" class="btn btn-primary">保存</button>
        </div>
      </div>
    </form>
  </div>
</div>

<footer class="footer">
  <div class="container">
    <p>Angular Fullstack v2.0.13 |
      <a href="https://twitter.com/tyhenkel">@tyhenkel</a> |
      <a href="https://github.com/DaftMonk/generator-angular-fullstack/issues?state=open">Issues</a></p>
  </div>
</footer>
